package com.book.domain;

public class Book {

	int id;
	String bookname;//图书名称
	String authorname; //图书作者名称
	String publishername;//图书出版社名称
	String bookcatalog;//图书分类
	String bookimgurl;//图书图片路径
    String bookoutline; //图书内容概述
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public String getAuthorname() {
		return authorname;
	}
	public void setAuthorname(String authorname) {
		this.authorname = authorname;
	}
	public String getPublishername() {
		return publishername;
	}
	public void setPublishername(String publishername) {
		this.publishername = publishername;
	}
	public String getBookcatalog() {
		return bookcatalog;
	}
	public void setBookcatalog(String bookcatalog) {
		this.bookcatalog = bookcatalog;
	}
	public String getBookimgurl() {
		return bookimgurl;
	}
	public void setBookimgurl(String bookimgurl) {
		this.bookimgurl = bookimgurl;
	}
	public String getBookoutline() {
		return bookoutline;
	}
	public void setBookoutline(String bookoutline) {
		this.bookoutline = bookoutline;
	}
	public Book(int id, String bookname, String authorname,
			String publishername, String bookcatalog, String bookimgurl,
			String bookoutline) {
		super();
		this.id = id;
		this.bookname = bookname;
		this.authorname = authorname;
		this.publishername = publishername;
		this.bookcatalog = bookcatalog;
		this.bookimgurl = bookimgurl;
		this.bookoutline = bookoutline;
	}
	@Override
	public String toString() {
		return "Book [id=" + id + ", bookname=" + bookname + ", authorname="
				+ authorname + ", publishername=" + publishername
				+ ", bookcatalog=" + bookcatalog + ", bookimgurl=" + bookimgurl
				+ ", bookoutline=" + bookoutline + "]";
	}
	
}
